package com.chouren.goandroid.http.exception;

import com.chouren.goandroid.http.client.HttpClientConfig;

/**
 * 网络异常的抽象类
 * @version 1.0 
 * @author Administrator
 * @date 2014年7月2日
 * @update 2014年7月2日
 */
public abstract class HttpException extends Exception {

	private static final long serialVersionUID = 1781983431752221017L;
	public static boolean useChinese = HttpClientConfig.errorInChinese;
	public static boolean printStackTrace = true;
	
	public HttpException() {}
	
	public HttpException(String name) {
		super(name);
	}
	
	public HttpException(String name, Throwable cause) {
		super(name, cause);
	}

	public HttpException(Throwable cause) {
		super(cause);
	}
}
